package com.gouqi.bookdemobackend.service;

import com.gouqi.bookdemobackend.model.vo.UserVo;
import com.gouqi.bookdemobackend.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @description 针对表【user】的数据库操作Service
*/
public interface UserService extends IService<User> {

    UserVo userLogin(String userAccount, String userPassword, HttpServletRequest request);

    User getLoginUser(HttpServletRequest request);

    String getUserIdByName(String name);

}
